package com.whminwei.edu.api.base.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangzf
 * @since 2024/7/17
 **/
@Data
@NoArgsConstructor
public class CertificateFspn {
    @JsonValue
    private List<CertificateBo> certificateList;

    @JsonCreator
    public CertificateFspn(List<CertificateBo> certificateList) {
        this.certificateList = certificateList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class CertificateBo {
        /**
         * 证书ID
         */
        private String certificateId;
        /**
         * 证书名称 = 等级+名称
         */
        private String certificateName;
        /**
         * 证书类型
         */
        private String certificateType;

        /**
         * 证书类别
         */
        private String certificateCategory;

        /**
         * 证书级别
         */
        private String certificateLevel;

        /**
         * 证书等级
         */
        private String certificateGrade;

    }
}
